Optimal. Leaf size=14 \[ i \log (\cos (a+i \log (x))) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3475} \[ i \log (\cos (a+i \log (x))) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3475
Rubi steps
\begin {align*} \int \frac {\tan (a+i \log (x))}{x} \, dx &=\operatorname {Subst}(\int \tan (a+i x) \, dx,x,\log (x))\\ &=i \log (\cos (a+i \log (x)))\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 14, normalized size = 1.00 \[ i \log (\cos (a+i \log (x))) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 16, normalized size = 1.14 \[ i \, \log \left (x^{2} + e^{\left (2 i \, a\right )}\right ) - i \, \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.24, size = 43, normalized size = 3.07 \[ i \, \log \left (\frac {i \, {\left (x^{2} - 1\right )} \tan \relax (a)}{x^{2} + 1} - 1\right ) - \frac {1}{2} i \, \log \left (-\frac {{\left (x^{2} - 1\right )}^{2}}{{\left (x^{2} + 1\right )}^{2}} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 17, normalized size = 1.21 \[ -\frac {i \ln \left (1+\tan ^{2}\left (a +i \ln \relax (x )\right )\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 10, normalized size = 0.71 \[ -i \, \log \left (\sec \left (a + i \, \log \relax (x)\right )\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.73, size = 16, normalized size = 1.14 \[ -\frac {\ln \left ({\mathrm {tan}\left (a+\ln \relax (x)\,1{}\mathrm {i}\right )}^2+1\right )\,1{}\mathrm {i}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 17, normalized size = 1.21 \[ - i \log {\relax (x )} + i \log {\left (x^{2} + e^{2 i a} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________